<%@page import="java.util.Enumeration" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Insert title here</title>
</head>
<body>
<%request.setCharacterEncoding("utf-8");%>
<%--通过request.getParameter("linkUsername")方法来获得请求参数username --%>
<% String username = request.getParameter("linkUsername"); %>
链接关系-参数值为：<%=username%>

<%--2.jsp和3.jsp之间为转发关系 --%>
<%--<% request.setAttribute("forwardUsername",username); %>
 <jsp:forward page="3.jsp" /> --%>

</body>
</html>